﻿namespace jQube.Web
{
    using System;

    public class AsyncPostBackErrorEventArgs : EventArgs
    {
        private Exception ex;

        internal AsyncPostBackErrorEventArgs()
        {
        }

        public AsyncPostBackErrorEventArgs(Exception ex)
        {
            this.ex = ex;
            this.AsyncPostBackErrorMessage = ex.Message;
        }

        public string AsyncPostBackErrorMessage { get; private set; }
    }
}
